﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Panel ID="Panel1" runat="server">
            <table style="width:100%;">
                <tr>
                    <td class="style1" colspan="2">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style2">
                        Nome do Produto:</td>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server" Height="25px" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Preço Unitário:</td>
                    <td>
                        <asp:TextBox ID="TextBox2" runat="server" Height="25px" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Categoria:</td>
                    <td>
                        <asp:DropDownList ID="DropDownListCategoria" runat="server" 
                            DataSourceID="SqlDataSource1" Height="25px" Width="200px">
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        &nbsp;</td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="Salvar" Width="112px" />
                    </td>
                </tr>
                <tr>
                    <td class="style2" colspan="2">
                        <asp:GridView ID="GridView1" runat="server" Width="415px">
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </asp:Panel>
    
    </div>
    </form>
</body>
</html>
